home *** CD-ROM | disk | FTP | other *** search
/ Enter Special 5: Digital Photography / ENTER Special 05.iso / Grafika / Paint Shop Pro 8.0 / psp800ev.exe / Data1.cab / Preset_MagnifyingLens_Red_Go < prev    next >
Encoding:
Text File  |  2003-04-22  |  1.8 KB  |  58 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'A circular red gold frame',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_MagnifyingLens():
  13.     return {
  14.         'Bound': (0.2525,0.0816667,0.765,0.923333), 
  15.         'Darkness': 0, 
  16.         'Defocus': 0, 
  17.         'Frame': {
  18.             'FrameColor': (198,138,98), 
  19.             'Material': App.Constants.LensFrameMaterial.BrightBronze, 
  20.             'Style': App.Constants.LensFrameShape.Circular, 
  21.             'Thickness': 9
  22.             }, 
  23.         'Illumination': {
  24.             'LightList': [{
  25.                 'LightColor': (244,183,110), 
  26.                 'LightDirection': (0.0853,-0.4784,-0.7094), 
  27.                 'HighlightSize': 83
  28.                 },{
  29.                 'LightColor': (255,255,255), 
  30.                 'LightDirection': (1,1,-1), 
  31.                 'HighlightSize': 37
  32.                 }], 
  33.             'MaxAmbience': 46, 
  34.             'MinAmbience': 33
  35.             }, 
  36.         'LensSurface': {
  37.             'EnvironmentMap': {
  38.                 'Active': App.Constants.Boolean.false
  39.                 }, 
  40.             'Gloss': 20, 
  41.             'Magnification': 5, 
  42.             'LensMaterial': {
  43.                 'Color': (255,255,255), 
  44.                 'Pattern': None, 
  45.                 'Gradient': None, 
  46.                 'Texture': None
  47.                 }, 
  48.             'LensOpacity': 0, 
  49.             'Refraction': 0, 
  50.             'ShapeType': App.Constants.LensShape.Spherical, 
  51.             'Shininess': 26
  52.             }
  53.         }
  54.  
  55. def Do(Environment):
  56.     App.Do( Environment, 'MagnifyingLens',         Preset_MagnifyingLens())
  57.  
  58.